home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #3
/
Amiga Plus CD - 2002 - No. 03.iso
/
AmigaPlus
/
Tools
/
Development
/
envCPP31
/
c++
/
syntax
/
sample.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2002-01-01
|
251 b
|
20 lines
/* Simple ANSI C example */
#include <defs.h>
int
main(int argc, char **argv)
{
if (ExecBase->SoftVer >= 39) {
// any arguments available ?
if (argc-- > 1) {
puts(\"hello world\");
putchar('\\a');
}
}
}